package com.daguchuangyi.erp_android.manager.networkservice.model;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by lijianjian on 2018/3/25.
 */

public class ParamRequestModel {

    @SerializedName("parameters")
    @Expose
    private List<ParameterRequest> parameters = new ArrayList<ParameterRequest>();

    public List<ParameterRequest> getParameters() {
        return parameters;
    }

    public void setParameters(List<ParameterRequest> parameters) {
        this.parameters = parameters;
    }


    public static class ParameterRequest {

        @SerializedName("id")
        @Expose
        private String id;
        @SerializedName("value")
        @Expose
        private List<String> value = new ArrayList<String>();
        @SerializedName("range")
        @Expose
        private Map<String, Object> mRangeMap = new HashMap<>();

        public Map<String, Object> getRangeMap() {
            return mRangeMap;
        }

        public void setRangeMap(Map<String, Object> rangeMap) {
            mRangeMap = rangeMap;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public List<String> getValue() {
            return value;
        }

        public void setValue(List<String> value) {
            this.value = value;
        }

    }
}
